package com.hmkj.core.po.risk;

import com.hmkj.common.baseMapper.GenericPo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;
import java.util.function.Consumer;


/**
 * 风控参数表实体信息<br>
 *
 * @author eproo
 * @date   2017-11-09 02:38:44
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "风控参数表")
@Table(name = "biz_risk_param")
public class RiskParam extends GenericPo<Integer> {

    public static final String TABLE_NAME = "biz_risk_param";

	
	/**品种ID**/
	@ApiModelProperty(value = "品种ID")
	private Integer commoId;
	/**参数名称**/
	@ApiModelProperty(value = "参数名称")
	private String name;
	/**参数代码**/
	@ApiModelProperty(value = "参数代码")
	private String nid;
	/**参数值**/
	@ApiModelProperty(value = "参数值")
	private String value;
	/**参数描述**/
	@ApiModelProperty(value = "参数描述")
	private String descript;

    public RiskParam(){}

    public RiskParam(Consumer<RiskParam> consumer){
    consumer.accept(this);
    }
}

